<template>
    <div class="flex-center position-ref full-height">
        <div class="code">
            {{ code }}
        </div>

        <div class="message" style="padding: 10px;">
            {{ message }}
        </div>
    </div>
</template>

<script>
export default {
    props: ['code', 'message'],
};
</script>

<style lang="scss" scoped>
    .full-height {
        height: 100vh;
    }

    .flex-center {
        align-items: center;
        display: flex;
        justify-content: center;
    }

    .position-ref {
        position: relative;
    }

    .code {
        border-right: 2px solid;
        font-size: 26px;
        padding: 0 15px 0 15px;
        color: #636b6f;
        text-align: center;
    }

    .message {
        font-size: 18px;
        color: #636b6f;
        text-align: center;
    }
</style>
